package com.coocaa.ops.api.base.third.rec.feign;

import com.coocaa.ops.api.base.third.FeignServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

/**
 * @author zen
 * @date 2020-08-04 16:40
 * @description
 */
@FeignClient(name = FeignServiceNameConstants.BIG_DATA_REC_CONTENT)
public interface GetRecStreamFeignClient {

    /**
     * 获取大数据近线推荐
     * @param data
     * @return
     */
    @RequestMapping(value = "/mixedRecommend", method = RequestMethod.GET)
    String getRecContent(@RequestParam Map<String, String> data);

}
